#include "tcp_connection.h"

using namespace uvpp;

TCPConnection::TCPConnection(EventLoop* loop, std::string& name, TCPPtr client)
	:_loop(loop),
	_name(name),
	_client(client)
{

}

TCPConnection::~TCPConnection()
{

}

void TCPConnection::setMessageCallback(OnMessageCallback callback)
{
	_onMessageCallback = callback;
}